package com.sky.mapper.admin;

import com.sky.annotation.AutoFill;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DishFlavorMapper {

    @Insert("insert into dish_flavor(id , dish_id, name, value) values (#{id},#{dishId},#{name},#{value})")
    @AutoFill(OperationType.INSERT)
    void insertDishFlavor(DishFlavor dishFlavor);
}
